<@master template="master/master-loan"  title="风险金计提报表">
<div class="detaiTab  detaiTab1">
<form  action="/risk/query" id="afterloanform" class="clearfix" data-action-html="#action_load_body">
	<table border="0" cellpadding="0" cellspacing="0" width="100%">
	    <tr>
	      <td class="bg" align="right">考核月份:</td>
			<td>
				 <input id="month" name="month"  type="text" runat="server" 
				 	onclick="WdatePicker({dateFmt:'yyyy-MM'})" class="Wdate" 
				 	maxlength="6" value="${vo.month}"/>    
			</td>
			
	    	<td class="bg" align="right">
	    		省区:&nbsp;  &nbsp;
	       	</td>
	       	<td >
	    		<select name="province" id="province">
	    		 <option name="defaultPro vinceName" id="defaultProvinceName" value="">请选择</option>
					<#list provinces as prov>
					        <#if prov.name==null || prov.name==''>
					            <option name="defaultProvinceName" id="defaultProvinceName" value="">请选择</option>
					        <#elseif   prov.name!=''>
					     	  <option value="${prov.name}" <#if prov.name == vo.province>selected="selected" </#if>>${prov.name}</option>
						    <#else>
						    </#if>
					</#list>
				</select>
	    	</td>
	    </tr>
	    <tr>
            <td class="bg">
            </td>
            <td >
            	<@permission permissionName="queryRiskAmount">
	                <input type="submit" value="查询" class="btn_auto_30 btn_blue" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            	</@permission>
            	<@permission permissionName="downloadRiskAmount">
					<span><a href="/risk/download?month=${month}&province=${province}" target="_blank" class="btn_auto_30 btn_blue" >导出</a><span class=" fs14" style="color: red;" ></span><font class="red ml10"> ${errorMessage}</font></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
				</@permission>
				
				<@permission permissionName="importRiskAmount">
					<span><a class=" btn_auto_30 action-ajax-btn btn_blue" href="/riskRest/toImport?type=risk_amount" target="_blank" class="btn_auto_30 btn_blue" >导入</a><span class=" fs14" style="color: red;" >
				</@permission>
            </td>
        </tr>
        <tr>
        </tr>
	 </table>
	</form>
</div>
	<div id="o2o_result"  class="action-ajax-load mt20" data-url="${o2ourl}"></div>
</@master>